Skip to content

feat: support multiple WebSocket sub-protocols in MQTT connection#2

Open
TheUmeshKadam wants to merge 1 commit intosclausen:masterfrom
TheUmeshKadam:support_multiple_WebSocket_sub_protocols
Open

feat: support multiple WebSocket sub-protocols in MQTT connection#2
TheUmeshKadam wants to merge 1 commit intosclausen:masterfrom
TheUmeshKadam:support_multiple_WebSocket_sub_protocols

Conversation

@TheUmeshKadam
Copy link
Copy Markdown

Allow custom WebSocket sub-protocols to be specified via opts.wsOptions.protocol (comma-separated). Custom protocols are now included alongside the default MQTT protocol during WebSocket connection negotiation.

  • Changed from single protocol to array of protocols
  • Parse custom protocols from opts.wsOptions.protocol if provided
  • Maintain backward compatibility by always including MQTT protocol

Allow custom WebSocket sub-protocols to be specified via opts.wsOptions.protocol
(comma-separated). Custom protocols are now included alongside the default MQTT
protocol during WebSocket connection negotiation.

- Changed from single protocol to array of protocols
- Parse custom protocols from opts.wsOptions.protocol if provided
- Maintain backward compatibility by always including MQTT protocol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant